package adapter.duck;

/**
 * @author zhouyang
 * @title: GreenHeadDuck
 * @projectName DesignMode_Java
 * @description: 一种鸭子的实现类
 * @date 2019/5/28 11:08
 */
public class GreenHeadDuck implements Duck{
    @Override
    public void quack() {
        System.out.println("ga ga ~~~");
    }

    @Override
    public void fly() {
        System.out.println("fly a long distance~~");
    }
}
